### --- Table Environetal Genetic vs GXE variance.

\begin{table*}[ht!]
\centering
\caption{Results from the generalised mixed models (GLMM) testing for environmental, genetic and G x E variance in both subspecies of \textit{Anthirrinum majus}. Random factors for survival and probability of flowering models were (1| altitude of transplants) + (1|replicates) + (1 | population/family) + (1 | altitude of transplants X family). Random factors for the number of flowers models were (1| altitude of transplants) + (1|replicates) + (1 | population) + (1 | altitude of transplants X population).}
\label{tab:c}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c c}
 \hline
   & \multicolumn{2}{c} {\textit{A. majus striatum}} & \multicolumn{2}{c} {\textit{A. majus pseudomajus}}  \\
    \hline
      & Estimates & CI 95\%  & Estimates & CI 95\% \\
                           & & & & \\
      \textbf{a) Survival} & \multicolumn{2}{c}{$R^{2}_{c}$ = $\Sexpr{round(Table_varianceY$R2c[Table_varianceY$model == "s0" & Table_varianceY$params == "intercept"], 2)}$}  & \multicolumn{2}{c}{$R^{2}_{c}$ = $\Sexpr{round(Table_varianceP$R2c[Table_varianceP$model == "s0" & Table_varianceP$params == "intercept"], 2)}$} \\
       Family within populations 
	   			 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "s0" & Table_varianceY$params == "family:pop"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "s0" & Table_varianceY$params == "family:pop"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "s0" & Table_varianceY$params == "family:pop"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "s0" & Table_varianceP$params == "family:pop"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "s0" & Table_varianceP$params == "family:pop"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "s0" & Table_varianceP$params == "family:pop"], 2)}$ \\
	   Between populations 
	   			 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "s0" & Table_varianceY$params == "pop"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "s0" & Table_varianceY$params == "pop"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "s0" & Table_varianceY$params == "pop"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "s0" & Table_varianceP$params == "pop"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "s0" & Table_varianceP$params == "pop"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "s0" & Table_varianceP$params == "pop"], 2)}$ \\
	   Site effect 
	   			 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "s0" & Table_varianceY$params == "site"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "s0" & Table_varianceY$params == "site"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "s0" & Table_varianceY$params == "site"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "s0" & Table_varianceP$params == "site"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "s0" & Table_varianceP$params == "site"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "s0" & Table_varianceP$params == "site"], 2)}$ \\
		Altitude of the gardens 
				 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "s0" & Table_varianceY$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "s0" & Table_varianceY$params == "alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "s0" & Table_varianceY$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "s0" & Table_varianceP$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "s0" & Table_varianceP$params == "alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "s0" & Table_varianceP$params == "alt_trans"], 2)}$ \\
	   	Family X Gardens 
	   			 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "s0" & Table_varianceY$params == "family:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "s0" & Table_varianceY$params == "family:alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "s0" & Table_varianceY$params == "family:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "s0" & Table_varianceP$params == "family:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "s0" & Table_varianceP$params == "family:alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "s0" & Table_varianceP$params == "family:alt_trans"], 2)}$ \\
	   			 \hline
	   			 & & & & \\
      \textbf{b) Probability of flowering} 
      			& \multicolumn{2}{c}{$R^{2}_{c}$ = $\Sexpr{round(Table_varianceY$R2c[Table_varianceY$model == "p0" & Table_varianceY$params == "intercept"], 2)}$}  
      			& \multicolumn{2}{c}{$R^{2}_{c}$ = $\Sexpr{round(Table_varianceP$R2c[Table_varianceP$model == "p0" & Table_varianceP$params == "intercept"], 2)}$} \\
	   Family within populations 
	   			 & $\textbf{\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "p0" & Table_varianceY$params == "family:pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "p0" & Table_varianceY$params == "family:pop"], 2)}}$ - $\textbf{\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "p0" & Table_varianceY$params == "family:pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "p0" & Table_varianceP$params == "family:pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "p0" & Table_varianceP$params == "family:pop"], 2)}}$ - $\textbf{\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "p0" & Table_varianceP$params == "family:pop"], 2)}}$ \\
	   Between populations 
	   			 & $\textbf{\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "p0" & Table_varianceY$params == "pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "p0" & Table_varianceY$params == "pop"], 2)}}$ - $\textbf{\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "p0" & Table_varianceY$params == "pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "p0" & Table_varianceP$params == "pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "p0" & Table_varianceP$params == "pop"], 2)}}$ - $\textbf{\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "p0" & Table_varianceP$params == "pop"], 2)}}$ \\
	   Site effect 
	   			 & $\textbf{\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "p0" & Table_varianceY$params == "site"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "p0" & Table_varianceY$params == "site"], 2)}}$ - $\textbf{\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "p0" & Table_varianceY$params == "site"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "p0" & Table_varianceP$params == "site"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "p0" & Table_varianceP$params == "site"], 2)}}$ - $\textbf{\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "p0" & Table_varianceP$params == "site"], 2)}}$ \\
		Altitude of the gardens 
				 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "p0" & Table_varianceY$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "p0" & Table_varianceY$params == "alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "p0" & Table_varianceY$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "p0" & Table_varianceP$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "p0" & Table_varianceP$params == "alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "p0" & Table_varianceP$params == "alt_trans"], 2)}$ \\
	   	Family X Gardens 
	   			 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "p0" & Table_varianceY$params == "family:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "p0" & Table_varianceY$params == "family:alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "p0" & Table_varianceY$params == "family:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "p0" & Table_varianceP$params == "family:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "p0" & Table_varianceP$params == "family:alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "p0" & Table_varianceP$params == "family:alt_trans"], 2)}$ \\
	   			 \hline
	   			 & & & & \\
	  \textbf{c) Number of flowers} 
	  			& \multicolumn{2}{c}{$R^{2}_{c}$ = $\Sexpr{round(Table_varianceY$R2c[Table_varianceY$model == "nbf" & Table_varianceY$params == "intercept"], 2)}$}  
	  			& \multicolumn{2}{c}{$R^{2}_{c}$ = $\Sexpr{round(Table_varianceP$R2c[Table_varianceP$model == "nbf" & Table_varianceP$params == "intercept"], 2)}$} \\
	   Between populations  
	   			 & $\textbf{\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "nbf" & Table_varianceY$params == "pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "nbf" & Table_varianceY$params == "pop"], 2)}}$ - $\textbf{\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "nbf" & Table_varianceY$params == "pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "nbf" & Table_varianceP$params == "pop"], 2)}}$
	   			 & $\textbf{\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "nbf" & Table_varianceP$params == "pop"], 2)}}$ - $\textbf{\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "nbf" & Table_varianceP$params == "pop"], 2)}}$ \\
	   Site effect 
	   			 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "nbf" & Table_varianceY$params == "site"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "nbf" & Table_varianceY$params == "site"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "nbf" & Table_varianceY$params == "site"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "nbf" & Table_varianceP$params == "site"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "nbf" & Table_varianceP$params == "site"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "nbf" & Table_varianceP$params == "site"], 2)}$ \\
		Altitude of the gardens 
				 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "nbf" & Table_varianceY$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "nbf" & Table_varianceY$params == "alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "nbf" & Table_varianceY$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "nbf" & Table_varianceP$params == "alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "nbf" & Table_varianceP$params == "alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "nbf" & Table_varianceP$params == "alt_trans"], 2)}$ \\
	   	Population X Gardens 
	   			 & $\Sexpr{round(Table_varianceY$estimates[Table_varianceY$model == "nbf" & Table_varianceY$params == "pop:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceY$CIlower[Table_varianceY$model == "nbf" & Table_varianceY$params == "pop:alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceY$CIupper[Table_varianceY$model == "nbf" & Table_varianceY$params == "pop:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$estimates[Table_varianceP$model == "nbf" & Table_varianceP$params == "pop:alt_trans"], 2)}$
	   			 & $\Sexpr{round(Table_varianceP$CIlower[Table_varianceP$model == "nbf" & Table_varianceP$params == "pop:alt_trans"], 2)}$ - $\Sexpr{round(Table_varianceP$CIupper[Table_varianceP$model == "nbf" & Table_varianceP$params == "pop:alt_trans"], 2)}$ \\
	   			 \hline

\hline
\end{tabular}
}
\end{table*}

\clearpage



----- Discussion
We emphasize that all measures of plasticity are relative to the range of environments in which they are measured.
Assessing the performance of plant species across different altitudes is useful for predicting how they may respond to changing climate.



All plants experience environemental heterogeneity across their geographic range. To accomodate this variation, they may modify their phenotype by exhibiting plastic changes to maximize their fitness in contrastng environements. Aditionnaly, they may exhibit genetic changes due to differential selection pressures across sites that makes populations fitter in their own local habitat than in any other population’s local habitat (i.e. local adaptation, Kawecki and Ebert, 2004). 

Cue reliability => temperature  
The observed direction of plasticity of germination timing in response to site was maladaptive, with the acceleration of germination in KY being fatal in most cases.
disturbance of the pattern. Adaptation patterns observed under light, were not replicated under shade. 

These results are far from being trivial. Light heterogeneity refers to the   Global change is expected to modify several environemental factors but also their covariance structure (Jackson et al 2009). 

\citep{chevin_evolution_2015, westneat_causes_2019}

This is particular important due the change in environmental covariance structure with global change (Jackson et al 2009)

Recent theoretical studies have investigated the evolutionary consequence of phenotypic plasticity in complex environment (Chavin and Lalande 2015, Westneat et al 2019), and some empirical studies 

the complexity in plasticity cannot be expalined solely by scaling up result from unidemnsional plasticity.  
Several authors acknowledge recently that multidimentionality in plasticity is an important mechanism ()
Causes and consequence of phenotypic plasticity in complex environment 



(2) Here we focused on shade-induced plasticity. Shade-induced plasticity has been often investgated in plants (Dorn et al 2000, Griffith and Sultan 2005). Many plants display a characteristic suite of developmental ‘‘shade avoidance’’ responses, such as stem elongation and accelerated reproduction. On seed gerination traits???

disturbance of the pattern. Adaptation patterns observed under light, were not replicated under shade. 



(3) genetic differentiation to shade induced- plasticity. No coherent expectation. All pop showed different pattern, both are a mix of shade and light environement. 






Chavin et Lande (2015) showed theoretically what could be the but  
In this cases, studies are interested in additive multidimentionality of plasticity
multidimensional phenotypic plasticity (MDPP)
the evolutionary consequences of this phenomenon have rarely been addressed theoretically (Chevin and lande 2015).
Most study analysed plastic responses to any of these variables in isolation. 
Coviariance structure of environements is not controlled in studies of natural populations. 
Global change in natural systems are expected to involved joint changes in multiple covarying variables, such as temperature, humidity, insolation but also density of competitors etc. 


In shade, the environmental variable that induce the plastic response is not a perfect predictor of the expected environement of selection (e.g. elevation). Plasticity of plants to shading by neighbors has both active and passive components. 

Seed dormancy was once considered relatively rare among alpine plant species (Amen, 1966), however, more recent studies indicate physiological dormancy may control the timing of germination in alpine systems more often than previously thought (Densmore and Zasada, 1983; Cavieres and Arroyo, 2000; Shimono and Kudo, 2005; Mondoni et al., 2009; Sommerville et al., 2013). 
when replicated under shade conditions, the adaptation patterns are disturbed. 



Populations of A.majus appears to answer differently depending on the population 


There is genetic variation in the degree of plasticity.
The literature will show hundered of studies reporting the finding of gene-by-environment interaction (genetic variation for platsiticty), in a variety of organisme. 


Reduced or apparently maladaptative plasticity to elevation 
the plasticity evolved to cope with local heterogeneity may be maladapataive in space resulting 
Expliquer pourquoi on a un tel cas.
If the capacity to genetically respond to selection is stronger in one dimension (e.g., space), then plasticity mainly evolves in response to fluctuations in the other dimension (e.g., time).
However, if the relationships between the environments of development and selection are different, the optimal level of plasticity is different in the two dimensions. In this case, the plastic response that evolves to cope with temporal fluctuations may actually be maladaptive in space, resulting in the evolution of hyperplasticity or negative plasticity. These effects can be mitigated by spatial genetic differentiation that acts in opposition to plasticity resulting in counter-gradient variation.



Both subspecies showed hyperplasticity on germination-related traits that is plastic response to elevation stronger than genetic phenotypic divergence. 


We hypothetised that "local" plasticity (i.e. plasticity to local factors) to these local conditions can disturb the patterns of local adaptation and/or adaptive plasticity observed along a global gradient. 


Common-garden results showed considerable intrapopulation differences in XXXX , with regard to both XXXX, and trait 2

A majus populations collected from low elevation had higher germination rates compared under high elevation garden conditions, altough they still retain some degree of distinctivness indicating genetic differences from other populations.??? This suggest t


A. majus showed hyperplasicity on the two traits studied; therefore A. majus appears to be a specific case of interest to test the impact of strong plasticity on local adaptation. 


The two traits showed markedly different levels of plasticity (between 10 and 30\%), but these levels are constant across subspecies.
While contrasting populations differed in their plasticity for particular characters, such variation between populations in the plasticity of one characterer was not necessarily correlated with equivalent variation in the plasticity of another character.


This is far from being 

The multivariate nature of environmental variation also entails that the combination of environmental variables that elicits the largest plastic response may differ from the one that most strongly affects selection on a plastic trait


Despite the disturbing effect of local plasticity, selection among these A. majus populations has resulted in local adaptation to elevation. Yet, our results show that local plasticity is strong enough to XXXX. 



For both subspecies, signal of maladaptation were observed under shade conditions for the two studied traits (Fig 1 b and d, Fig 2 b and d). 

Evidence of hyperplasticity is not studied in 

Plants shaded by neighbors or overhead foliage
 Plants shaded by neighbors or overhead foliage experience both a reduction in the ratio of red to far red light (R:FR), a specific cue perceived by phytochrome, and reduced photosynthetically active radiation (PAR), an essential resource. 


Implication of local plasticity: 

One of the most prominent features of current climate change is an altered covariance structure and temporal autocorrelation of environmental variables (Jackson et al. 2009). This change in environmental covariance structure not only increases the difficulty in measuring plastic responses in the wild and predictin

Plasticity and plasticity of the plasticity can be measured only under experimental conditions since genotypes must be replicated and distributed among environment. Thus, biological significance of plasticity are limited by the extent to which the experimental conditions mimic natural variation. Specifically, the frequency distribution of environments in nature effects the environmental variance, and thus 

How many article can detect the robustness of the pattern => 2 commons gardens to test for plasticity and X 2 conditions to test for the plasticity of the plasticity. 2 replicats in diff conditions

Plasticity and heritability of plasticity of necessity can be measured only under experimental conditions since genotypes must be replicated and distributed among environments. Additionally, in nature both genotypes and environments will be random variables while under experimental conditions the latter are usually re- stricted to a few fixed treatments. Thus, measures of the heritability of plasticity are limited by the extent to which the experimental conditions mimic natural variation. Specifically, the frequency distribution of environments in nature effects the en- vironmental variance and thus the amounts of plastic variance, total phenotypic variance, and trait plasticity. Although the shape of the reaction norms does not change, the amount of genotype-environment interaction variance is a function of environmental frequencies. Thus, the heritability of plasticity is dependent on the distribution of environments. This problem is similar to that faced in extrapolating

Robustness (or reproductibility) of a pattern is rarely considered. Among the XXX studies listed by Halbriter et al (2018) testing local adaptation along elevation gradient, none perfomed a replicats within a common garden.

Here, shade treatment disrupt the pattern of local adaptation observed. 

For instance, in a recent empirical study Anderson et Wadgymar \citeyear{anderson_climate_2019} showed that manipulating snow cover disrupt significantly the pattern of local adaptation to elevation gradient in \textit{Boechera stricta}. As a consequence they warn researcher on drawing inference about the extend of local adaptation. 

It is not an anecdotale prblm. See expe of snow removal in Anderson et Wadgymar (2019), plasticty in mesange today they adapt due to temperature, but photoperidoe is also a trait.

Patchy distribution of light. 

We acknowledge that la mise en evidence de la non robustess d'un pattern va dependre de la variable environemental choise et de l'intensité de l'effet. Ici, nous avoins choisi obscurité et lumière, qui est une facteur environemental connu pour affecter fortement les plantes. Toutefois , il n'ets pas sans realité biologique, des changements de luminosité sont totalement envisageables dans le cas de changements des commaunutés associées aux plantes par exemple. 

Ce travail corobore les conclusions de Andreson and Waddgymar, selon lequelle l'adaptation local des conditions climatique passé ne permettern pas de s'adapter au changemenet climatique. 

Local adaptation to historical conditions could increase vulnerability to climate change, even for geo- graphically widespread species.

It is also possible that highly environmentally responsive traits will tend to exhibit 


----- Intro 2

Local adaptation is the evolutionary response to local selection that makes populations fitter in their own local habitat than in any other population's local habitat \citep{kawecki_conceptual_2004}. Local adaptation is widespread in plants \citep{leimu_meta-analysis_2008, hereford_quantitative_2009, halbritter_trait_2018} and has important implication for the plant's response to global change \citep{franks_evolutionary_2014}. Finding local adaptation to various climatic conditions is expected to help predict the capacity for genetic responses to climatic change in the future. At least, evidence of local adaptation demonstrated that evolution in response to climatic variation has occurred in the past. At most, it suggests that alleles for adaptation to future climates may exist somewhere in a species range \citep{hedrick_genetic_1986}. 

Phenotypic plasticity is another efficient mechanism to cope with environmental changes. This mechanism refers to the ability of a genotype to show different phenotypes in different environments \citep{bradshaw_evolutionary_1965}. Phenotypic plasticity is widespread in plants \citep{palacio-lopez_ubiquity_2015, acasuso-rivero_adaptive_2019}, but the plasticity of a trait can be of adaptive significance, a sign of weakness or eventually be maladaptive \citep{ghalambor_adaptive_2007, ghalambor_non-adaptive_2015}. The capacity to respond to environmental change by phenotypic plasticity is recognized to be quicker than by local adaptation, but is also considered to be limited \citep{bradshaw_evolutionary_1965, de_jong_evolution_2005, jump_running_2005}. Indeed, plasticity has potential costs and limits \citep{dewitt_costs_1998}, hence the reason why we observe genetically divergent forms rather than plants able to phenotypically adapt to any environment through plastic responses.

The relative importance of local adaptation versus phenotypic plasticity in driving phenotypic differentiation is still unclear, but it has long been recognized that both processes work concomitantly \citep{franks_evolutionary_2014, merila_climate_2014, king_importance_2018, de_villemereuil_patterns_2018}. In a recent empirical study, De Villemereuil et al. (\citeyear{de_villemereuil_patterns_2018}) detected sign of local adaptation despite high phenotypic plasticity in \textit{Arabis alpina}. This arises a question rarely considered: how phenotypic plasticity can affect inferences made about adaptive divergence in natural system? In case of hyperplasticity (i.e. plastic response stronger than genetic phenotypic divergence), a strong modifying effect of plasticity on pattern of local adaptation can be suspected, casting doubts on our ability to predict the plant's response to global change. Considering that future conditions are unlikely to match perfectly the current climatic differential, understanding the robustness of a pattern of local adaptation is a crucial step toward realism. 

Here, we compared signatures of local adaptation and plasticity to altitude in two subspecies of \textit{Anthirinum majus} (\textit{striatum} and \textit{pseudomajus}) which inhabit similar environmental gradient in south of France, and we tested the robustness of these patterns to shade-induced plasticity. To study local adaptation, we conducted two common garden experiments at high and low-elevation using seed families from $\Sexpr{length(unique(CleanData$POP[CleanData$COLOR == "yellow"]))}$ populations of \textit{A. m. striatum} and $\Sexpr{length(unique(CleanData$POP[CleanData$COLOR == "pink"]))}$ populations of \textit{A. m. pseudomajus} covering the altitudinal gradient of each subspecies. We focused on two germination-related traits important for plant adaptation \citep{donohue_germination_2010}: the seed germination rate, and the timing of seed germination. According to previous results (REF Sara), we were expecting to see a pattern of local adaptation in \textit{A. m. striatum} but not in \textit{A. m. pseudomajus}. Then, we quantified the relative importance of phenotypic plasticity (i.e. environmental variation, and genotype-by-environment interaction), and genetic differentiation (between populations, or between families) in phenotypic variation. Finally, we tested to which extend the observed patterns varied between light and shade conditions. 
------
   \item Germination behavior is important for plant adaptation because, being the earliest phenotypes expressed by plants, it sets the context for subsequent growth and natural selection \citep{donohue_germination_2010}. Here, we focused on two germination-related traits: the seed germination rate, and the timing of seed germination. Seed germination rate is a direct measure of plant performance; it is monotonically related to fitness (i.e. is under directional selection in all populations, and all sites). The timing of seed germination is not a direct measure of plant performance but has a fitness impact; it affects the probability of seedling survival via its influence on seedling seasonal exposure to potentially lethal environmental factors, as well as the conditions for subsequent plant growth and reproduction \citep{donohue_germination_2010}. The timing of seed germination is not monotonically related to fitness; different time to germination may be optimal in different locations. Mortality selection pressure may favour either early or delayed germination, depending on when the environmental factor that causes mortality occurs. Selection for increased fecundity should favour early germination. Early germination enables plants to reach a larger size before reproduction, and/or provides a longer period during which reproduction occurs. Thus, germination strategies varied strongly between species \citep{hoyle_seed_2015}. Here, our working assumptions behind using the timing of seed germination is that in low elevation sites, selection for increased fecundity and summer drought mortality should favour early germination. In high elevation sites, there was two contradictory hypotheses \citep{schutz_dormancy_2002}. On one hand, it may be argued that the short growing season in sub-alpine habitats should favour early germination, to provide enough time to growth and reproduce. On the other hand, the high risk of seedling mortality due to adverse winter conditions may enforce the selection for delayed germination.



   A large part of the literature have tested the relative importance of each process in phenotypic differenciation, and have investigated the factor favoring each process (Schenier et Holt 2012, franks evolutionary 2014). While it has long been recognized that both processes worked concomitantly 
Again, we do know that there can be selection on plasticity, and it can respond to selection. However, we still know little about what 


Recent empirical studies have detect genetic differenciation in traits sugegsting patterns of local adaptation, despite high level of plasticity (i.e. environetal variance and G X E interaction variance exceed genetic variance (DeVillemerueil et al 2018).Plasticity might allows a gent
It has long been recognized that adaptive plasticity may be advantageous when it allows a genotype to have a broader tolerance to environmental conditions and hence higher fitness across multiple environments (e.g. Bradshaw 1965; Baker 1974; Sultan 1987, 1995; Schlichting Pigliucci 1998; Pigliucci 2001). 

   
       
Hyperplasticity is demonstrated for a trait across different environemental conditions (i.e. environetal variance and G X E interaction variance exceed genetic variance )


crutial step toward realism. 


Historically, Bradshaw (1965) and others (Thoday, 1953; Levins, 1963; Marshall and Jain, 1968; Jain, 1979) have postulated that selection for phenotypic plasticity and genetic variation would be antagonistic; there would be selection for a population to be either phenotypically plastic or genetically variable. Since then, several taxonomic reviews (de villemereuil 2018, King et al 2018, Gienapp et al. (2008); Boutin and Lane (2014); Charmantier and Gienapp (2014); Franks et al. (2014); Stoks et al. (2014); Schilthuizen ans Kellermann (2014) summarised in Merila and Hendry (2014)) showed both processes working concomitantly. Recently De Villemerueil et al (2018) have detected a pattern of laocal adaption in Alpina XXX despite a high phenotypic plasticity.


One major reason the above intuition-based inferences are not sufficient is that phenotypic change can be the result of either genetic change or phenotypic plasticity, the latter occurring when individuals of a given genotype adjust their phenotype according to the conditions they experience (West Eberhard 2003). Indeed, a number of phenotypic differences originally thought to be genetically based were subsequently attributed to phenotypic plasticity (e.g., James 1983; Charmantier et al. 2008; Teplitsky et al. 2008). On the one hand, maladaptive or nonadaptive genetic changes can occur owing to genetic drift or gene flow, rather than natural selection. On the other hand, maladaptive or non adaptive plastic changes might occur as a result of stress, nutrient limitation, and a host of other reasons (Gotthard and Nylin 1995; Grether 2005). In reality, then, genetic versus plastic changes and adaptive versus nonadaptive changes should be treated as alternative models to be com- pared based on the weight of evidence.

Quantitative definition for plasticity have been proopsed long time ago (Scheiner et Goodnight 1984). 

Platisicty can be a propertu of the gentotype.
Populations can deal with such varying conditions by either local adaptation or phenotypic plasticity [2,3]. Local adaptation involves genetic differentiation specific to each environment, whereas phenotypic plasticity allows single genotypes to express different phenotypes under diverse environmental conditions.


Changes in germination rates are expected to be passive response to...
Canalization. Traits is not changing, just reduced because 

Many phenotypic responses to environmental stress, however, may be the consequence of passive reductions in growth due to resource limitation (Dorn et al., 2000; van Kleunen et al., 2000a). 

DeWitt and Scheiner 2004

The literature will show hundered of studies reporting the finding of gene-bye-enviro interaction (genetic variation for platsiticty), in a variety of orhanisme. There is genetic variation in nature for plastic responese.
In order to assess the extent of phenotypic plasticity we performed the experiment in two contrasted common gardens, under two light treatments in each garden.

------

Replicability of the pattern

H1- Sign of local adaptation to altitude in A. majus - Local population do better at local site than foreign population. Populations from low altitude do better at low-elevation garden than population from high altitude. Pop of low altitude may be more adapted to climate change.

H2- This pattern varied between subspecies

H3- To what extent do this pattern varied between conditions? plasticity is maladaptative







H2- A decrease in genetic variation or plastic variation in ecologically marginal populations? By analogy with the argument that selection will decrease genetic variation in marginal habitats, the harsher conditions in ecologicallt marginal habitats might select for individuals with a greater lastic variation. Wide fluctuation in a character owing to environemtal influence can be considered to indicate that there is a lack of adaptation and that the gentype concerned is inadequalty buffered againt the enviro (Bradshaw 1965). Phenotypuc plastcicity may limit the evolution of specialits

H3- significant correlation, either negative or positive in amounts of genetic variation and plastic variation. A second hypothesis put forward in the literature is that selection would operate to maximize either genetic variation or plastic variation resulting in a negative correlation between genetic and plastic variation (Thoday 1953,; Marshamm and JAin 1968, Grant 1974, Jain 1979). However Scheiner et Goodnight (1984) found no relationship between the amount of plastic variation and  genetic variation in the five population of D spictata. Alipine enviro is a long term wycyling environemental fluctuation and would select for genetic tracking of the enviro and large genetic variation while short-term random enviroemetal fluctaution would slect for phenotypic plasticity. However, there is no reason to suppose  that selection for the two types of variation neeed necessarily be coupled. 

Main result- 
- Despite the high phenotypic plasticity, it was still possible to detect pattern of local adaptation linked to altitude. High plasticity occurs with sign of local adaptation.
- Maladaptation de la plasticity





   Phenotypic plasticity may impact the adaptive divergence, but the direction of the evolutionary process is difficult to predict ; futur local adaptation may be retarded or increased by phenotypic plasticity (Crispo 2008). BUt to our knowledge, how phneotypic plasticiy can affect inferences made about adaptive divergence in natural system is rarely studied. In the absence of plasticity, or weak plasticity,   


   The first potential impact that comes to mind is when phenotypic plasticity hydes local adaptation. This problem can be solved by the choice of the experimental design. For instance, in a recent empirical study using two common gardens, De villemereuil et al (2018) reported genetic differenciation suggesting local adaptation depite a high phenotypic plasticity. Altenatively, phenotypic plasticity may interfer with a pattern of local adaptation. 

   Modyfing effect of plasticity on pattern of local adaptation. 

How phenotypic plasticity can affect inferences made about adaptive divergence in natural systems is less studied, 





   interfer with a pattern of local adaptation to climatic condition.


   affect the robustness of a pattern of local adaptation; climatic differentiation between populations based on genetic differences may disapear 

   when environmental conditions deviate from the local conditions the pattern of local adaptation desparear

    which ultimatly will preclude our ability to predict plant's response to global change.

   Indeed, , because we don't know how futur conditions will match the current climatic differential, and those beyond the climatic factors.

    

   Another impact is that ...this is partiuclarly true in case of hyperplasticity (i.e XXXX)

 Let said that a trait is genetically differenciated across population along a climatic gradient, but also showed strong plasticity. The question


Our study revealed a sensitivity of global adaptation patterns to local environmental heterogeneity. Shade treatment, simulating light local heterogeneity, disturbed plant adaptive response to elevation in \textit{A. majus} and led sometimes to apparent maladaptation to elevation. Response to elevation in \textit{A. majus} involved both phenotypic plasticity and genetic differentiation in germination-related traits. Plastic response to elevation in these traits were systematically stronger than genetic phenotypic divergence, and were either suggestive to differences in environmental quality (neutral plasticity), or to a track of increased individual's fitness (adaptive plasticity). Genetic trends were suggestive of a pattern of local adaptation to elevation in \textit{A. m. striatum}, but not in \textit{A. m. pseudomajus}. Shade treatment disturbed significantly local adaptation, adaptive and neutral plastic patterns in both subspecies. We argue that our results cast doubts on our ability to predict \textit{A. majus} response to global change based exclusively on evidence of local adaptation, or adaptive plasticity to elevation. 


    and its implications for our understanding of the plant's response to global change. Let's said that a trait showed a genetic differenciation, suggesting local adaptation, along an altitudinal gradient 

   we are not sure that the futur conditions will match the current climatic differential, and those beyond the climatic factors 

   While the relative importance of plasticity vs genetic adaptation have largely been studied, little is know about the interactions between both processes, and their implications for the plant's response to global change. 

   Let said that a trait showed a genetic differenciation suggesting a local adapation, depite a high phenoytypic platisicty, such as found in a recent empirical study (De vilelmereul et al 2018)
   In a recent empirical study DeVillemerueil et al (2018) have detect sign of local adaptation in A. alpina, despite a high phneotypic plasticity. 

    hyperplasticity (i.e. plastic response stronger than genetic phenotypic divergence)

   In theory 


   
Our study revealed a disturbing effect of local plasticity (i.e. plasticity to local factors) on a global adaptation pattern. Indeed, the pattern of local adaptation to altitude observed under light for \textit{A. majus striatum} vanished or reversed under shade. Shade treatment, simulating light local heterogeneity, can even induce apparent maladaptation to elevation. Our system was characterized by a high plasticity of germination-related traits in both subspecies: plastic responses to elevation in these traits were stronger than genetic phenotypic divergence. Yet, the genetic differentiation between populations originated from high and low elevation sites was significant enough to suggest a signal of local adaptation in \textit{A. m. striatum}. No pattern of local adaptation to elevation was found in \textit{A. m. pseudomajus}, but light heterogeneity was still modifying reaction norms to elevation in this subspecies.


   \item Local adaptation in link with climatic effects have largely be studied using elevation gradients \citep{halbritter_trait_2018}. Phenotypically divergent populations were compared substituing spatial contrast in temperature and rainfall along elevation for temporal changes. Compared to broad scale studies crossing latitudes and continents, studies of local adaptation to altitude allowed to kept to minimum some counfouning factors such as day length, geology or biogeographic history. However, a problem persists for these studies to adequatly predict plant response to climate change: we are not sure that the futur conditions will match the current climatic differential, and those beyond the climatic factors (Merila and Hendry 2014). 





All generalized mixed-models were fitted in MCMCglmm \citep{hadfield_mcmc_2010} using default (flat) priors. Significant of fixed effects was tested using the pMCMC value yielded by MCMCglmm. For all modles, convergence was checked using the Heidelberger and Welch's test \citep{heidelberger_spectral_1981} via the codapackage 


\begin{table*}[h!]
\centering
\caption{Results from the generalised mixed models (GLMM) testing for local adaptation on germination-related traits in both subspecies of \textit{Anthirrinum majus}. Random factors in all models are (1| population) + (1 | population/family) + (1|altitude of origin:treatment).}
\label{tab:3}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c c c c}
 \hline
   & \multicolumn{3}{c} {\textit{A. majus striatum}} & \multicolumn{3}{c} {\textit{A. majus pseudomajus}}  \\
    \hline
      & Estimates & SE & P-value & Estimates & SE & P-value \\
     a) Germination rate & & & & & & \\
   Intercept & $\Sexpr{round(Table_models_comp[[1]][1, 3], 3)}$ & $\Sexpr{round(Table_models_comp[[1]][1, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][1, 7], 3)}$ ***  &  $\Sexpr{round(Table_models_comp[[1]][5, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][5, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][5, 7], 3)}$ *** \\
   Garden(s) & $\Sexpr{round(Table_models_comp[[1]][2, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][2, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][2, 7], 3)} $ *** & $\Sexpr{round(Table_models_comp[[1]][6, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][6, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][6, 7], 3)}$ *** \\
   Altitude of origin &  $\Sexpr{round(Table_models_comp[[1]][3, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][3, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][3, 7], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][7, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][7, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][7, 7], 3)}$ \\
   Altitude of origin X Garden(s) &  $\Sexpr{round(Table_models_comp[[1]][4, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][4, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][4, 7], 3)} $ * &  $\Sexpr{round(Table_models_comp[[1]][8, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][8, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][8, 7], 3)}$ **\\
   & & & & & & \\
   b) Time to germination & & & & & & \\
   Intercept & $\Sexpr{round(Table_models_comp[[1]][9, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][9, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][9, 7], 3)}$ *** &  $\Sexpr{round(Table_models_comp[[1]][13, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][13, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][13, 7], 3)}$ ***  \\
   Garden(s) & $\Sexpr{round(Table_models_comp[[1]][10, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][10, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][10, 7], 3)} $ ***  & $\Sexpr{round(Table_models_comp[[1]][14, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][14, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][14, 7], 3)}$ ***  \\
   Altitude of origin &  $\Sexpr{round(Table_models_comp[[1]][11, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][11, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][11, 7], 3)} $   & $\Sexpr{round(Table_models_comp[[1]][15, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][15, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][15, 7], 3)}$ \\
   Altitude of origin X Garden(s) &  $\Sexpr{round(Table_models_comp[[1]][12, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][12, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][12, 7], 3)} $ **  &  $\Sexpr{round(Table_models_comp[[1]][16, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][16, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][16, 7], 3)}$\\
\hline
\end{tabular}
}
\end{table*}






\begin{table*}[!ht]
\centering
\caption{Results from the generalised mixed models for germination-related traits for both subspecies of \textit{Anthirrinum majus}.}
\label{tab:1}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c c c c}
 \hline
   & \multicolumn{3}{c} {\textit{A. majus striatum}} & \multicolumn{3}{c} {\textit{A. majus pseudomajus}}  \\
   & & & & & & \\
    \hline
   a) Germination rate & & & & & & \\
     \textbf{Fixed Effects} & Estimates & SE & P-value & Estimates & SE & P-value \\
   \textit{Environmental effects} & & & & & & \\
   Intercept & $\Sexpr{round(Table_models[[1]][1, 3], 3)}$ & $\Sexpr{round(Table_models[[1]][1, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][1, 7], 3)}$ ***  &  $\Sexpr{round(Table_models[[1]][5, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][5, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][5, 7], 3)}$ *** \\
   Garden(s) & $\Sexpr{round(Table_models[[1]][2, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][2, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][2, 7], 3)} $ *** & $\Sexpr{round(Table_models[[1]][6, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][6, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][6, 7], 3)}$ *** \\
   Shade Treatment &  $\Sexpr{round(Table_models[[1]][3, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][3, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][3, 7], 3)} $  & $\Sexpr{round(Table_models[[1]][7, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][7, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][7, 7], 3)}$  \\
   Garden(s) X Shade &  $\Sexpr{round(Table_models[[1]][4, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][4, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][4, 7], 3)} $ *** &  $\Sexpr{round(Table_models[[1]][8, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][8, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][8, 7], 3)}$ ***\\
   &  &  &  &  &  & \\
   \textbf{Random Effects} & Variance & CI 95\% & Nb group & Variance & CI 95\%  & Nb group \\
   \textit{Genetic effects} & & & & & & \\
   Between populations & $\Sexpr{round(Table_models[[2]][3, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][3, 7], 3)}$; $\Sexpr{round(Table_models[[2]][3, 8], 3)}$  & 7 & $\Sexpr{round(Table_models[[2]][6, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][6, 7], 3)}$; $\Sexpr{round(Table_models[[2]][6, 8], 3)}$ & 8 \\
   Family nested in population & $\Sexpr{round(Table_models[[2]][2, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][2, 7], 3)}$; $\Sexpr{round(Table_models[[2]][2, 8], 3)}$ & 103 & $\Sexpr{round(Table_models[[2]][5, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][5, 7], 3)}$; $\Sexpr{round(Table_models[[2]][5, 8], 3)}$ & 120 \\
   \textit{G X E effect} &  &  &  &  &  & \\
   Family x Garden(s) x Shade & $\Sexpr{round(Table_models[[2]][1, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][1, 7], 3)}$; $\Sexpr{round(Table_models[[2]][1, 8], 3)}$ & 412 & $\Sexpr{round(Table_models[[2]][4, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][4, 7], 3)}$; $\Sexpr{round(Table_models[[2]][4, 8], 3)}$ & 479\\
\hline
   &  &  &  &  &  & \\
   b) Time to germination & & & & & & \\
     \textbf{Fixed Effects} & Estimates & SE & P-value & Estimates & SE & P-value \\
   \textit{Environmental effects} & & & & & & \\
   Intercept & $\Sexpr{round(Table_models[[1]][9, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][9, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][9, 7], 3)}$ *** &  $\Sexpr{round(Table_models[[1]][13, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][13, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][13, 7], 3)}$ ***  \\
   Garden(s) & $\Sexpr{round(Table_models[[1]][10, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][10, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][10, 7], 3)} $ ***  & $\Sexpr{round(Table_models[[1]][14, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][14, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][14, 7], 3)}$ ***  \\
   Shade Treatment &  $\Sexpr{round(Table_models[[1]][11, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][11, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][11, 7], 3)} $ ***  & $\Sexpr{round(Table_models[[1]][15, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][15, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][15, 7], 3)}$  *** \\
   Garden(s) X Shade &  $\Sexpr{round(Table_models[[1]][12, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][12, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][12, 7], 3)} $ ***  &  $\Sexpr{round(Table_models[[1]][16, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][16, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][16, 7], 3)}$ ***  \\
   &  &  &  &  &  & \\
   \textbf{Random Effects} & Variance & CI 95\% & Nb group & Variance & CI 95\% & Nb group \\
   \textit{Genetic effects} & & & & & & \\
   Between populations & $\Sexpr{round(Table_models[[2]][8, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][8, 7], 3)}$; $\Sexpr{round(Table_models[[2]][8, 8], 3)}$ & 7 & $\Sexpr{round(Table_models[[2]][10, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][10, 7], 3)}$; $\Sexpr{round(Table_models[[2]][10, 8], 3)}$ & 8 \\
   \textit{G X E effect} &  &  &  &  &  & \\
   Population x Garden(s) x Shade & $\Sexpr{round(Table_models[[2]][7, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][7, 7], 3)}$; $\Sexpr{round(Table_models[[2]][7, 8], 3)}$ & 280 & $\Sexpr{round(Table_models[[2]][9, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][9, 7], 3)}$; $\Sexpr{round(Table_models[[2]][9, 8], 3)}$ & 310\\
\hline
\end{tabular}
}
\end{table*}





\clearpage

\begin{table*}[h!]
\centering
\caption{Results from the generalised mixed models testing for local adaptation to altitude on germination-related traits in both subspecies of \textit{Anthirrinum majus} under light conditions. Random factors in all models are (1| population) + (1 | population/family).}
\label{tab:3}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c c c c}
 \hline
   & \multicolumn{3}{c} {\textit{A. majus striatum}} & \multicolumn{3}{c} {\textit{A. majus pseudomajus}}  \\
    \hline
      & Estimates & SE & P-value & Estimates & SE & P-value \\
     a) Germination rate & & & & & & \\
   Intercept & $\Sexpr{round(Table_models_compL[[1]][1, 3], 3)}$ & $\Sexpr{round(Table_models_compL[[1]][1, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][1, 7], 3)}$ ***  &  $\Sexpr{round(Table_models_compL[[1]][5, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][5, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][5, 7], 3)}$ *** \\
   Garden(s) & $\Sexpr{round(Table_models_compL[[1]][2, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][2, 4], 3)} $  & $\Sexpr{round(Table_models_compL[[1]][2, 7], 3)} $ *** & $\Sexpr{round(Table_models_compL[[1]][6, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][6, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][6, 7], 3)}$ *** \\
   Altitude of Origin &  $\Sexpr{round(Table_models_compL[[1]][3, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][3, 4], 3)}$ (.)  & $\Sexpr{round(Table_models_compL[[1]][3, 7], 3)} $  & $\Sexpr{round(Table_models_compL[[1]][7, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][7, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][7, 7], 3)}$ \\
   Altitude of Origin X Garden(s) &  $\Sexpr{round(Table_models_compL[[1]][4, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][4, 4], 3)} $  & $\Sexpr{round(Table_models_compL[[1]][4, 7], 3)} $ &  $\Sexpr{round(Table_models_compL[[1]][8, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][8, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][8, 7], 3)}$ \\
   & & & & & & \\
   b) Time to germination & & & & & & \\
   Intercept & $\Sexpr{round(Table_models_compL[[1]][9, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][9, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][9, 7], 3)}$ *** &  $\Sexpr{round(Table_models_compL[[1]][13, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][13, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][13, 7], 3)}$ ***  \\
   Garden(s) & $\Sexpr{round(Table_models_compL[[1]][10, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][10, 4], 3)} $  & $\Sexpr{round(Table_models_compL[[1]][10, 7], 3)}$ ***  & $\Sexpr{round(Table_models_compL[[1]][14, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][14, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][14, 7], 3)}$ ***  \\
   Altitude of Origin &  $\Sexpr{round(Table_models_compL[[1]][11, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][11, 4], 3)} $  & $\Sexpr{round(Table_models_compL[[1]][11, 7], 3)}$  (.)  & $\Sexpr{round(Table_models_compL[[1]][15, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][15, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][15, 7], 3)}$ *** \\
   Altitude of Origin X Garden(s) &  $\Sexpr{round(Table_models_compL[[1]][12, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][12, 4], 3)} $  & $\Sexpr{round(Table_models_compL[[1]][12, 7], 3)}$  &  $\Sexpr{round(Table_models_compL[[1]][16, 3], 3)} $ & $\Sexpr{round(Table_models_compL[[1]][16, 4], 3)}$  & $\Sexpr{round(Table_models_compL[[1]][16, 7], 3)}$ **\\
\hline
\end{tabular}
}
\end{table*}


\clearpage

\begin{table*}[h!]
\centering
\caption{Models comparisons between null models and models including the Altitude of origin in \textit{Anthirrinum majus} populations under light treatment. Random factors in all models are (1| population) + (1 | population/family). If the log-likelihood ratio test (LRT) returned a significant P- value, the model with the altitude of origin fitted the data better than the model without the altitude of origin.}
\label{tab:S4}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c}
 \hline
 Traits & Subspecies & LRT & p-value\\
 \hline
 Germination rate & \textit{A. m. striatum} & $\Sexpr{round(Table_models_compL[[2]][1, 5], 3)}$ & $\Sexpr{round(Table_models_compL[[2]][1, 6], 3)}$\\
  & \textit{A. m. pseudomajus} & $\Sexpr{round(Table_models_compL[[2]][2, 5], 3)}$ & $\Sexpr{round(Table_models_compL[[2]][2, 6], 3)}$\\
 Time to germination & \textit{A. m. striatum} & $\Sexpr{round(Table_models_compL[[2]][3, 5], 3)}$ & $\Sexpr{round(Table_models_compL[[2]][3, 6], 3)}$\\
  & \textit{A. m. pseudomajus} & $\Sexpr{round(Table_models_compL[[2]][4, 5], 3)}$ & $\Sexpr{round(Table_models_compL[[2]][4, 6], 3)}$\\

 \hline
\end{tabular}
}
\end{table*}


\clearpage



\clearpage


--- With bootstrap
Variation in germination related-traits was best explained by the genetic variation in the degree of plasticity (i.e. genotype-environment interaction, Table \ref{tab:1}) for both subspecies, than by between- or within-populations genetic variance. 

No phenotypic differentiation among populations was found for all traits and subspecies (Table \ref{tab:1}, CI crossing zero). Graphical representation of average population phenotypic values supports these statistical trends (Fig S\ref{figS1} and S\ref{figS2}). 

The within-population (i.e family effect) genetic variance was mostly non-significant. Only the germination rate in \textit{A. m. pseudomajus} was explained by both the genetic variation in the degree of plasticity and the within-population (i.e family effect) genetic variance (Table \ref{tab:1}). 


The plasticity (i.e. environmental effect) account for a subsequent part of variation in germination-related traits and in both subspecies. Indeed, when comparing the marginal and conditional $R^2$ 

##------------------------------------------------
###--------- POP + POP:TREAT+ POP:ALT
##------------------------------------------------
\begin{table*}[!ht]
\centering
\caption{Results from the generalised mixed models for germination-related traits for both subspecies of \textit{Anthirrinum majus}.}
\label{tab:1}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c c c c}
 \hline
   & \multicolumn{3}{c} {\textit{A. majus striatum}} & \multicolumn{3}{c} {\textit{A. majus pseudomajus}}  \\
   & & & & & & \\
    \hline
   a) Germination rate & & & & & & \\
     \textbf{Fixed Effects} & Estimates & SE & P-value & Estimates & SE & P-value \\
   \textit{Environmental effects} & & & & & & \\
   Intercept & $\Sexpr{round(Table_models[[1]][1, 3], 3)}$ & $\Sexpr{round(Table_models[[1]][1, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][1, 7], 3)}$ ***  &  $\Sexpr{round(Table_models[[1]][5, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][5, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][5, 7], 3)}$ *** \\
   Garden(s) & $\Sexpr{round(Table_models[[1]][2, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][2, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][2, 7], 3)} $ *** & $\Sexpr{round(Table_models[[1]][6, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][6, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][6, 7], 3)}$ *** \\
   Shade Treatment &  $\Sexpr{round(Table_models[[1]][3, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][3, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][3, 7], 3)} $  & $\Sexpr{round(Table_models[[1]][7, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][7, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][7, 7], 3)}$  \\
   Garden(s) X Shade &  $\Sexpr{round(Table_models[[1]][4, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][4, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][4, 7], 3)} $ *** &  $\Sexpr{round(Table_models[[1]][8, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][8, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][8, 7], 3)}$ ***\\
   &  &  &  &  &  & \\
   \textbf{Random Effects} & Variance & SD & Nb group & Variance & SD & Nb group \\
   \textit{Genetic effects} & & & & & & \\
   Population & $\Sexpr{round(Table_models[[2]][3, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][3, 4], 5)} $ & 7 & $\Sexpr{round(Table_models[[2]][6, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][6, 4], 5)} $ & 8 \\
   \textit{G X E effects} &  &  &  &  &  & \\
   Population x Garden(s) & $\Sexpr{round(Table_models[[2]][2, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][2, 4], 5)} $ & 206 & $\Sexpr{round(Table_models[[2]][5, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][5, 4], 5)} $ & 240\\
   Population x Shade & $\Sexpr{round(Table_models[[2]][1, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][1, 4], 5)} $ & 206 & $\Sexpr{round(Table_models[[2]][4, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][4, 4], 5)} $ & 240\\
\hline
   &  &  &  &  &  & \\
   b) Time to germination & & & & & & \\
     \textbf{Fixed Effects} & Estimates & SE & P-value & Estimates & SE & P-value \\
   \textit{Environmental effects} & & & & & & \\
   Intercept & $\Sexpr{round(Table_models[[1]][9, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][9, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][9, 7], 3)}$ *** &  $\Sexpr{round(Table_models[[1]][13, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][13, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][13, 7], 3)}$ ***  \\
   Garden(s) & $\Sexpr{round(Table_models[[1]][10, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][10, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][10, 7], 3)} $ ***  & $\Sexpr{round(Table_models[[1]][14, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][14, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][14, 7], 3)}$ ***  \\
   Shade Treatment &  $\Sexpr{round(Table_models[[1]][11, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][11, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][11, 7], 3)} $ ***  & $\Sexpr{round(Table_models[[1]][15, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][15, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][15, 7], 3)}$  *** \\
   Garden(s) X Shade &  $\Sexpr{round(Table_models[[1]][12, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][12, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][12, 7], 3)} $ ***  &  $\Sexpr{round(Table_models[[1]][16, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][16, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][16, 7], 3)}$ ***  \\
   &  &  &  &  &  & \\
   \textbf{Random Effects} & Variance & SD & Nb group & Variance & SD & Nb group \\
   \textit{Genetic effects} & & & & & & \\
   Population & $\Sexpr{round(Table_models[[2]][9, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][9, 4], 5)} $ & 7 & $\Sexpr{round(Table_models[[2]][12, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][12, 4], 5)} $ & 8 \\
   \textit{G X E effects} &  &  &  &  &  & \\
   Population x Garden(s) & $\Sexpr{round(Table_models[[2]][8, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][8, 4], 5)} $ & 182 & $\Sexpr{round(Table_models[[2]][11, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][11, 4], 5)} $ & 196\\
   Population x Shade & $\Sexpr{round(Table_models[[2]][7, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][7, 4], 5)} $ & 209 & $\Sexpr{round(Table_models[[2]][10, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][10, 4], 5)} $ & 211\\
\hline
\end{tabular}
}
\end{table*}

##------------------------------------------------
###--------- POP x POP/FAMILY + POP:TREAT+ POP:ALT
##------------------------------------------------
\begin{table*}[!ht]
\centering
\caption{Results from the generalised mixed models for germination-related traits for both subspecies of \textit{Anthirrinum majus}.}
\label{tab:1}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c c c c}
 \hline
   & \multicolumn{3}{c} {\textit{A. majus striatum}} & \multicolumn{3}{c} {\textit{A. majus pseudomajus}}  \\
   & & & & & & \\
    \hline
   a) Germination rate & & & & & & \\
     \textbf{Fixed Effects} & Estimates & SE & P-value & Estimates & SE & P-value \\
   \textit{Environmental effects} & & & & & & \\
   Intercept & $\Sexpr{round(Table_models[[1]][1, 3], 3)}$ & $\Sexpr{round(Table_models[[1]][1, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][1, 7], 3)}$ ***  &  $\Sexpr{round(Table_models[[1]][5, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][5, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][5, 7], 3)}$ *** \\
   Garden(s) & $\Sexpr{round(Table_models[[1]][2, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][2, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][2, 7], 3)} $ *** & $\Sexpr{round(Table_models[[1]][6, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][6, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][6, 7], 3)}$ *** \\
   Shade Treatment &  $\Sexpr{round(Table_models[[1]][3, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][3, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][3, 7], 3)} $  & $\Sexpr{round(Table_models[[1]][7, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][7, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][7, 7], 3)}$  \\
   Garden(s) X Shade &  $\Sexpr{round(Table_models[[1]][4, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][4, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][4, 7], 3)} $ *** &  $\Sexpr{round(Table_models[[1]][8, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][8, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][8, 7], 3)}$ ***\\
   &  &  &  &  &  & \\
   \textbf{Random Effects} & Variance & SD & Nb group & Variance & SD & Nb group \\
   \textit{Genetic effects} & & & & & & \\
   Between populations & $\Sexpr{round(Table_models[[2]][4, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][4, 4], 5)} $ & 7 & $\Sexpr{round(Table_models[[2]][8, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][8, 4], 5)} $ & 8 \\
   Family nested in population & $\Sexpr{round(Table_models[[2]][3, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][3, 4], 5)} $ & 103 & $\Sexpr{round(Table_models[[2]][7, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][7, 4], 5)} $ & 120 \\
   \textit{G X E effect} &  &  &  &  &  & \\
   Population x Garden(s) & $\Sexpr{round(Table_models[[2]][2, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][2, 4], 5)} $ & 206 & $\Sexpr{round(Table_models[[2]][6, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][6, 4], 5)} $ & 240\\
   Population x Shade & $\Sexpr{round(Table_models[[2]][1, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][1, 4], 5)} $ & 206 & $\Sexpr{round(Table_models[[2]][5, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][5, 4], 5)} $ & 240\\
\hline
   &  &  &  &  &  & \\
   b) Time to germination & & & & & & \\
     \textbf{Fixed Effects} & Estimates & SE & P-value & Estimates & SE & P-value \\
   \textit{Environmental effects} & & & & & & \\
   Intercept & $\Sexpr{round(Table_models[[1]][9, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][9, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][9, 7], 3)}$ *** &  $\Sexpr{round(Table_models[[1]][13, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][13, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][13, 7], 3)}$ ***  \\
   Garden(s) & $\Sexpr{round(Table_models[[1]][10, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][10, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][10, 7], 3)} $ ***  & $\Sexpr{round(Table_models[[1]][14, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][14, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][14, 7], 3)}$ ***  \\
   Shade Treatment &  $\Sexpr{round(Table_models[[1]][11, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][11, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][11, 7], 3)} $ ***  & $\Sexpr{round(Table_models[[1]][15, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][15, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][15, 7], 3)}$  *** \\
   Garden(s) X Shade &  $\Sexpr{round(Table_models[[1]][12, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][12, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][12, 7], 3)} $ ***  &  $\Sexpr{round(Table_models[[1]][16, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][16, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][16, 7], 3)}$ ***  \\
   &  &  &  &  &  & \\
   \textbf{Random Effects} & Variance & SD & Nb group & Variance & SD & Nb group \\
   \textit{Genetic effects} & & & & & & \\
   Between populations & $\Sexpr{round(Table_models[[2]][12, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][12, 4], 5)} $ & 7 & $\Sexpr{round(Table_models[[2]][16, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][16, 4], 5)} $ & 8 \\
   Family nested in population & $\Sexpr{round(Table_models[[2]][11, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][11, 4], 5)} $ & 100 & $\Sexpr{round(Table_models[[2]][15, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][15, 4], 5)} $ & 114 \\
   \textit{G X E effect} &  &  &  &  &  & \\
   Population x Garden(s) & $\Sexpr{round(Table_models[[2]][10, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][10, 4], 5)} $ & 182 & $\Sexpr{round(Table_models[[2]][14, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][14, 4], 5)} $ & 196\\
   Population x Shade & $\Sexpr{round(Table_models[[2]][9, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][9, 4], 5)} $ & 209 & $\Sexpr{round(Table_models[[2]][13, 3], 5)} $  & $\Sexpr{round(Table_models[[2]][13, 4], 5)} $ & 211\\
\hline
\end{tabular}
}
\end{table*}

##------------------------------------------------
###--------- POP/FAMILY + FAMILY:TREAT:ALT
##------------------------------------------------
\begin{table*}[!ht]
\centering
\caption{Results from the generalised mixed models for germination-related traits for both subspecies of \textit{Anthirrinum majus}.}
\label{tab:1}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c c c c}
 \hline
   & \multicolumn{3}{c} {\textit{A. majus striatum}} & \multicolumn{3}{c} {\textit{A. majus pseudomajus}}  \\
   & & & & & & \\
    \hline
   a) Germination rate & & & & & & \\
     \textbf{Fixed Effects} & Estimates & SE & P-value & Estimates & SE & P-value \\
   \textit{Environmental effects} & & & & & & \\
   Intercept & $\Sexpr{round(Table_models[[1]][1, 3], 3)}$ & $\Sexpr{round(Table_models[[1]][1, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][1, 7], 3)}$ ***  &  $\Sexpr{round(Table_models[[1]][5, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][5, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][5, 7], 3)}$ *** \\
   Garden(s) & $\Sexpr{round(Table_models[[1]][2, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][2, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][2, 7], 3)} $ *** & $\Sexpr{round(Table_models[[1]][6, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][6, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][6, 7], 3)}$ *** \\
   Shade Treatment &  $\Sexpr{round(Table_models[[1]][3, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][3, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][3, 7], 3)} $  & $\Sexpr{round(Table_models[[1]][7, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][7, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][7, 7], 3)}$  \\
   Garden(s) X Shade &  $\Sexpr{round(Table_models[[1]][4, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][4, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][4, 7], 3)} $ *** &  $\Sexpr{round(Table_models[[1]][8, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][8, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][8, 7], 3)}$ ***\\
   &  &  &  &  &  & \\
   \textbf{Random Effects} & Variance & SD & Nb group & Variance & SD & Nb group \\
   \textit{Genetic effects} & & & & & & \\
   Between populations & $\Sexpr{round(Table_models[[2]][3, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][3, 4], 3)} $ & 7 & $\Sexpr{round(Table_models[[2]][6, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][6, 4], 3)} $ & 8 \\
   Family nested in population & $\Sexpr{round(Table_models[[2]][2, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][2, 4], 3)} $ & 103 & $\Sexpr{round(Table_models[[2]][5, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][5, 4], 3)} $ & 120 \\
   \textit{G X E effect} &  &  &  &  &  & \\
   Family x Garden(s) x Shade & $\Sexpr{round(Table_models[[2]][1, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][1, 4], 3)} $ & 412 & $\Sexpr{round(Table_models[[2]][4, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][4, 4], 3)} $ & 479\\
\hline
   &  &  &  &  &  & \\
   b) Time to germination & & & & & & \\
     \textbf{Fixed Effects} & Estimates & SE & P-value & Estimates & SE & P-value \\
   \textit{Environmental effects} & & & & & & \\
   Intercept & $\Sexpr{round(Table_models[[1]][9, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][9, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][9, 7], 3)}$ *** &  $\Sexpr{round(Table_models[[1]][13, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][13, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][13, 7], 3)}$ ***  \\
   Garden(s) & $\Sexpr{round(Table_models[[1]][10, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][10, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][10, 7], 3)} $ ***  & $\Sexpr{round(Table_models[[1]][14, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][14, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][14, 7], 3)}$ ***  \\
   Shade Treatment &  $\Sexpr{round(Table_models[[1]][11, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][11, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][11, 7], 3)} $ ***  & $\Sexpr{round(Table_models[[1]][15, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][15, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][15, 7], 3)}$  *** \\
   Garden(s) X Shade &  $\Sexpr{round(Table_models[[1]][12, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][12, 4], 3)} $  & $\Sexpr{round(Table_models[[1]][12, 7], 3)} $ ***  &  $\Sexpr{round(Table_models[[1]][16, 3], 3)} $ & $\Sexpr{round(Table_models[[1]][16, 4], 3)}$  & $\Sexpr{round(Table_models[[1]][16, 7], 3)}$ ***  \\
   &  &  &  &  &  & \\
   \textbf{Random Effects} & Variance & SD & Nb group & Variance & SD & Nb group \\
   \textit{Genetic effects} & & & & & & \\
   Between populations & $\Sexpr{round(Table_models[[2]][9, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][9, 4], 3)} $ & 7 & $\Sexpr{round(Table_models[[2]][12, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][12, 4], 3)} $ & 8 \\
   Family nested in population & $\Sexpr{round(Table_models[[2]][8, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][8, 4], 3)} $ & 100 & $\Sexpr{round(Table_models[[2]][11, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][11, 4], 3)} $ & 114 \\
   \textit{G X E effect} &  &  &  &  &  & \\
   Family x Garden(s) x Shade & $\Sexpr{round(Table_models[[2]][7, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][7, 4], 3)} $ & 280 & $\Sexpr{round(Table_models[[2]][10, 3], 3)} $  & $\Sexpr{round(Table_models[[2]][10, 4], 3)} $ & 310\\
\hline
\end{tabular}
}
\end{table*}

\clearpage

\begin{table*}[h!]
\centering
\caption{Marginal and conditional R2 for models developed in table 1.}
\label{tab:2}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c}
 \hline
 Traits & Subspecies & Marginal $R2$ & Conditional $R2$ \\
 \hline
 Germination rate & \textit{A. m. striatum} & $\Sexpr{round(Table_models[[1]][1, 8], 2)}$ & $\Sexpr{round(Table_models[[1]][1, 9], 2)}$\\
 & \textit{A. m. pseudomajus} & $\Sexpr{round(Table_models[[1]][5, 8], 2)}$ & $\Sexpr{round(Table_models[[1]][5, 9], 2)}$\\
 Time to germination & \textit{A. m. striatum} & $\Sexpr{round(Table_models[[1]][9, 8], 2)}$ & $\Sexpr{round(Table_models[[1]][9, 9], 2)}$\\
  & \textit{A. m. pseudomajus} & $\Sexpr{round(Table_models[[1]][13, 8], 2)}$ & $\Sexpr{round(Table_models[[1]][13, 9], 2)}$\\

 \hline
\end{tabular}
}
\end{table*}

\clearpage

\begin{table*}[h!]
\centering
\caption{Results from the generalised mixed models testing for local adaptation on germination-related traits in both subspecies of \textit{Anthirrinum majus}. Random factors in all models are (1| population) + (1 | population/family).}
\label{tab:3}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c c c c}
 \hline
   & \multicolumn{3}{c} {\textit{A. majus striatum}} & \multicolumn{3}{c} {\textit{A. majus pseudomajus}}  \\
    \hline
      & Estimates & SE & P-value & Estimates & SE & P-value \\
     a) Germination rate & & & & & & \\
   Intercept & $\Sexpr{round(Table_models_comp[[1]][1, 3], 3)}$ & $\Sexpr{round(Table_models_comp[[1]][1, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][1, 7], 3)}$ ***  &  $\Sexpr{round(Table_models_comp[[1]][5, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][5, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][5, 7], 3)}$ *** \\
   Garden(s) & $\Sexpr{round(Table_models_comp[[1]][2, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][2, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][2, 7], 3)} $ *** & $\Sexpr{round(Table_models_comp[[1]][6, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][6, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][6, 7], 3)}$ *** \\
   Altitude of Origin &  $\Sexpr{round(Table_models_comp[[1]][3, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][3, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][3, 7], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][7, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][7, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][7, 7], 3)}$ * \\
   Garden(s) X Altitude of Origin &  $\Sexpr{round(Table_models_comp[[1]][4, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][4, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][4, 7], 3)} $ * &  $\Sexpr{round(Table_models_comp[[1]][8, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][8, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][8, 7], 3)}$ **\\
	& & & & & & \\
   b) Time to germination & & & & & & \\
   Intercept & $\Sexpr{round(Table_models_comp[[1]][9, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][9, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][9, 7], 3)}$ *** &  $\Sexpr{round(Table_models_comp[[1]][13, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][13, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][13, 7], 3)}$ ***  \\
   Garden(s) & $\Sexpr{round(Table_models_comp[[1]][10, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][10, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][10, 7], 3)} $ ***  & $\Sexpr{round(Table_models_comp[[1]][14, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][14, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][14, 7], 3)}$ ***  \\
   Altitude of Origin &  $\Sexpr{round(Table_models_comp[[1]][11, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][11, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][11, 7], 3)} $ .  & $\Sexpr{round(Table_models_comp[[1]][15, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][15, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][15, 7], 3)}$ \\
   Garden(s) X Altitude of Origin &  $\Sexpr{round(Table_models_comp[[1]][12, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][12, 4], 3)} $  & $\Sexpr{round(Table_models_comp[[1]][12, 7], 3)} $ **  &  $\Sexpr{round(Table_models_comp[[1]][16, 3], 3)} $ & $\Sexpr{round(Table_models_comp[[1]][16, 4], 3)}$  & $\Sexpr{round(Table_models_comp[[1]][16, 7], 3)}$\\
\hline
\end{tabular}
}
\end{table*}



\begin{table*}[h!]
\centering
\caption{Models comparisons between null models and models including the Altitude of origin in \textit{Anthirrinum majus} populations. Random factors in all models are (1| population) + (1 | population/family).  If the log-likelihood ratio test (LRT) returned a significant P- value, the model with the altitude of origin fitted the data better than the model without the altitude of origin.}
\label{tab:2}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c c}
 \hline
 Subspecies & Germination-related trait & LRT & p-value\\
 \hline
 Germination rate & \textit{A. m. striatum} & $\Sexpr{round(Table_models_comp[[2]][1, 5], 3)}$ & $\Sexpr{round(Table_models_comp[[2]][1, 6], 3)}$\\
				  & \textit{A. m. pseudomajus}  & $\Sexpr{round(Table_models_comp[[2]][2, 5], 3)}$ & $\Sexpr{round(Table_models_comp[[2]][2, 6], 3)}$\\
 Time to germination & \textit{A. m. striatum} & $\Sexpr{round(Table_models_comp[[2]][3, 5], 3)}$ & $\Sexpr{round(Table_models_comp[[2]][3, 6], 3)}$\\
  					 & \textit{A. m. pseudomajus}  & $\Sexpr{round(Table_models_comp[[2]][4, 5], 3)}$ & $\Sexpr{round(Table_models_comp[[2]][4, 6], 3)}$\\

 \hline
\end{tabular}
}
\end{table*}

\begin{table*}[h!]
\centering
\caption{Regression coefficient of GLMM for \textit{Anthirrinum majus} germination traits in the reciprocal transplant experiment. }
\label{tab:2}
\resizebox{\textwidth}{!}{
\begin{tabular}{l c c}
 \hline

Source of variation & \multicolumn{2}{c} {Average estimates $\pm$ 95\% CI }\\
\hline
                    & Under Light & Under Shade \\
a) Germination & & \\
& & \\
Intercept & $\Sexpr{round(Table_estimates_GERM$means[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="intercept"], 3)}$ [$\Sexpr{round(Table_estimates_GERM$lower[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="intercept"], 3)}$; $\Sexpr{round(Table_estimates_GERM$upper[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="intercept"], 3)}$] & $\Sexpr{round(Table_estimates_GERM$means[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="intercept"], 3)}$ [$\Sexpr{round(Table_estimates_GERM$lower[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="intercept"], 3)}$; $\Sexpr{round(Table_estimates_GERM$upper[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="intercept"], 3)}$]\\
\textbf{Environmental effect}  & & \\
Elevation of gardens ($E_{g}$) & $\Sexpr{round(Table_estimates_GERM$means[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="trans"], 3)}$ [$\Sexpr{round(Table_estimates_GERM$lower[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="trans"], 3)}$; $\Sexpr{round(Table_estimates_GERM$upper[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="trans"], 3)}$] & $\Sexpr{round(Table_estimates_GERM$means[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="trans"], 3)}$ [$\Sexpr{round(Table_estimates_GERM$lower[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="trans"], 3)}$; $\Sexpr{round(Table_estimates_GERM$upper[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="trans"], 3)}$]  \\
\textbf{Genetic effect} & &\\
Elevation of origin ($E_{o}$)  &  $\Sexpr{round(Table_estimates_GERM$means[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="origin"], 3)}$ [$\Sexpr{round(Table_estimates_GERM$lower[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="origin"], 3)}$; $\Sexpr{round(Table_estimates_GERM$upper[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="origin"], 3)}$ ] & $\Sexpr{round(Table_estimates_GERM$means[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="origin"], 3)}$ [$\Sexpr{round(Table_estimates_GERM$lower[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="origin"], 3)}$; $\Sexpr{round(Table_estimates_GERM$upper[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="origin"], 3)}$] \\
\textbf{Environmental x genetic effects}  & &\\
$E_{g}$ x $E_{o}$  & $\Sexpr{round(Table_estimates_GERM$means[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="transxorigin"], 3)}$ [$\Sexpr{round(Table_estimates_GERM$lower[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="transxorigin"], 3)}$; $\Sexpr{round(Table_estimates_GERM$upper[Table_estimates_GERM$model == "m1_light" & Table_estimates_GERM$factor =="transxorigin"], 3)}$] & $\Sexpr{round(Table_estimates_GERM$means[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="transxorigin"], 3)}$ [$\Sexpr{round(Table_estimates_GERM$lower[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="transxorigin"], 3)}$; $\Sexpr{round(Table_estimates_GERM$upper[Table_estimates_GERM$model == "m1_shade" & Table_estimates_GERM$factor =="transxorigin"], 3)}$]\\
& & \\
\hline
b) Time to germination & & \\
Intercept & $\Sexpr{round(Table_estimates_TTG$means[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="intercept"], 3)}$ [$\Sexpr{round(Table_estimates_TTG$lower[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="intercept"], 3)}$; $\Sexpr{round(Table_estimates_TTG$upper[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="intercept"], 3)}$] & $\Sexpr{round(Table_estimates_TTG$means[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="intercept"], 3)}$ [$\Sexpr{round(Table_estimates_TTG$lower[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="intercept"], 3)}$; $\Sexpr{round(Table_estimates_TTG$upper[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="intercept"], 3)}$]\\
\textbf{Environmental effect}  & & \\
Elevation of gardens ($E_{g}$) & $\Sexpr{round(Table_estimates_TTG$means[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="trans"], 3)}$ [$\Sexpr{round(Table_estimates_TTG$lower[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="trans"], 3)}$; $\Sexpr{round(Table_estimates_TTG$upper[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="trans"], 3)}$] & $\Sexpr{round(Table_estimates_TTG$means[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="trans"], 3)}$ [$\Sexpr{round(Table_estimates_TTG$lower[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="trans"], 3)}$; $\Sexpr{round(Table_estimates_TTG$upper[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="trans"], 3)}$]  \\
\textbf{Genetic effect} & &\\
Elevation of origin ($E_{o}$)  &  $\Sexpr{round(Table_estimates_TTG$means[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="origin"], 3)}$ [$\Sexpr{round(Table_estimates_TTG$lower[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="origin"], 3)}$; $\Sexpr{round(Table_estimates_TTG$upper[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="origin"], 3)}$ ] & $\Sexpr{round(Table_estimates_TTG$means[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="origin"], 3)}$ [$\Sexpr{round(Table_estimates_TTG$lower[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="origin"], 3)}$; $\Sexpr{round(Table_estimates_TTG$upper[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="origin"], 3)}$] \\
\textbf{Environmental x genetic effects}  & &\\
$E_{g}$ x $E_{o}$  & $\Sexpr{round(Table_estimates_TTG$means[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="transxorigin"], 3)}$ [$\Sexpr{round(Table_estimates_TTG$lower[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="transxorigin"], 3)}$; $\Sexpr{round(Table_estimates_TTG$upper[Table_estimates_TTG$model == "m1_light" & Table_estimates_TTG$factor =="transxorigin"], 3)}$] & $\Sexpr{round(Table_estimates_TTG$means[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="transxorigin"], 3)}$ [$\Sexpr{round(Table_estimates_TTG$lower[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="transxorigin"], 3)}$; $\Sexpr{round(Table_estimates_TTG$upper[Table_estimates_TTG$model == "m1_shade" & Table_estimates_TTG$factor =="transxorigin"], 3)}$]\\
\hline
\end{tabular}
}
\end{table*}